package com.edu.bean;

public class User {
	private int userId;
	
	private String username;
	
	private String password;
	
	private String sex;
	
	private String realname;
	
	private String email;
	
	private String telephone;
	
	private String idNum;
	
	private String headimg;

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getIdNum() {
		return idNum;
	}

	public void setIdNum(String idNum) {
		this.idNum = idNum;
	}


	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getHeadimg() {
		return headimg;
	}

	public void setHeadimg(String headimg) {
		this.headimg = headimg;
	}

	
	public User(String username, String password, String sex, String realname, String email, String telephone,
			String idNum, String headimg) {
		super();
		this.username = username;
		this.password = password;
		this.sex = sex;
		this.realname = realname;
		this.email = email;
		this.telephone = telephone;
		this.idNum = idNum;
		this.headimg = headimg;
	}
	
	public User(int userId, String username, String password, String sex, String realname, String email, String telephone,
			String idNum) {
		super();
		this.userId = userId;
		this.username = username;
		this.password = password;
		this.sex = sex;
		this.realname = realname;
		this.email = email;
		this.telephone = telephone;
		this.idNum = idNum;
	}
	
	public User(int userId, String username, String password, String sex, String realname, String email, String telephone,
			String idNum, String headimg) {
		super();
		this.userId = userId;
		this.username = username;
		this.password = password;
		this.sex = sex;
		this.realname = realname;
		this.email = email;
		this.telephone = telephone;
		this.idNum = idNum;
		this.headimg = headimg;
	}
	
	public User(String username, String password, String sex, String realname, String email, String telephone, String idNum) {
		super();
		this.username = username;
		this.password = password;
		this.sex = sex;
		this.realname = realname;
		this.email = email;
		this.telephone = telephone;
		this.idNum = idNum;
	}

	public User() {
		super();
	}
	
	
}
